﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DELVE_GAME.ViewStructure
{
    class AcceptAllianceRequestGameAction : GameAction
    {
        Game game;
        int sendingPlayer;
        View view;
        public AcceptAllianceRequestGameAction(View view, Game game, int sendingPlayer)
        {
            this.game = game;
            this.sendingPlayer = sendingPlayer;
            this.view = view;
        }

        public override void doAction()
        {
            game.respondToRequest(sendingPlayer, true);
            //view.setRequestAccepted(sendingPlayer);
        }
    }
}
